@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?x732kz');
    src: url('../fonts/icomoon.eot?x732kz#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?x732kz') format('truetype'), url('../fonts/icomoon.woff?x732kz') format('woff'), url('../fonts/icomoon.svg?x732kz#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.main {
    width: 980px;
    height: 445px;
    margin-left: 220px;
    margin-top: 10px;
}

.focus {
    overflow: hidden;
    position: relative;
    float: left;
    width: 721px;
    height: 445px;
}

/* ul 比他父亲长的多 为了装下所有轮播图的图片 */
/* 要用animate 就必须有定位 */
.focus .spin {
    position: absolute;
    top: 0;
    left: 0;
    width: 600%;
}

.focus .spin li img {
    width: 100%;
    height: 445px;
}

.focus .spin li {
    float: left;
}

.focus .prev,
.focus .next {
    display: none;
    position: absolute;
    top: 50%;
    width: 40px;
    height: 50px;
    margin-top: -25px;
    background-color: rgba(0, 0, 0, .2);
    font-size: 38px;
    z-index: 1;
}

.focus .prev {
    left: 0;
}

.focus .next {
    right: 0;
}

.focus .prev::before {
    font-family: 'icomoon';
    content: '\ea44';
    position: absolute;
    top: -3px;
}

.focus .next::after {
    font-family: 'icomoon';
    content: '\ea42';
    position: absolute;
    top: -3px;
    right: 0;
}

/* .focus::before {
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    margin-top: -19px;
    left: 5px;
    content: '\ea44';
    font-size: 38px;
    color: rgba(0, 0, 0, 0.5);
} */
/* 伪类是不支持hover的 */
/* .focus::before:hover { */
/* color: tomato; */
/* } */


/* .focus::after {
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    margin-top: -19px;
    right: 5px;
    content: '\ea42';
    font-size: 38px;
    color: rgba(0, 0, 0, 0.5);
} */

/* .focus::before:hover {
    color: #fff;
} */

.focus .layer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -52.5px;
    /* width: 110px; 这里不手动写而是通过js根据focus里的大图片自动生成 */
    height: 18px;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 9px;
}

.focus .layer li {
    float: left;
    width: 12px;
    height: 12px;
    /* border: 1px solid #fff; */
    border-radius: 50%;
    margin: 3px 3px;
    background-color: #fff;
}

.focus .layer li:hover {
    background-color: tomato;
    border-color: tomato;
}

.focus .layer .current {
    background-color: tomato;
    border-color: tomato;
}

.newsflash {
    float: right;
    width: 250px;
    height: 445px;
}

.news {
    height: 165px;
    border: 1px solid #e4e4e4;
}

.news .news_hd {
    height: 35px;
    border-bottom: 1px dotted #e4e4e4;
    line-height: 35px;
}

.news .news_hd h5 {
    float: left;
    font-size: 14px;
    color: #333333;
    padding-left: 15px;
    font-weight: 400;
}

.news .news_hd .more {
    float: right;
    font-size: 14px;
    color: #333333;
    padding-right: 15px;
}

.news .news_hd .more::after {
    font-family: 'icomoon';
    content: '\e90a';
    margin-left: 3px;
}

.news .news_bd ul {
    margin: 5px 0 0 15px;
}

.news .news_bd ul li {
    height: 24px;
    line-height: 24px;
    /* 超过的部分隐藏 */
    overflow: hidden;
    /* 强制文字一行显示 */
    white-space: nowrap;
    /* 多余的文字省略号显示 ellipsis */
    text-overflow: ellipsis;
}

.lifeservice {
    overflow: hidden;
    height: 209px;
    border: 1px solid #e4e4e4;
    border-top: 0;
}

/* 加这个是为了扩大宽 装下四个盒子 */
.lifeservice ul {
    width: 252px;
}

.lifeservice ul li {
    float: left;
    width: 63px;
    height: 71px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
}

.lifeservice ul li i {
    /* 为了可以使用text-align: center; */
    display: inline-block;
    width: 24px;
    height: 28px;
    margin-top: 12px;
}

.lifeservice ul li:nth-child(1) i {
    background: url(../images/icons.png) no-repeat -16px -15px;
}

.lifeservice ul li:nth-child(2) i {
    background: url(../images/icons.png) no-repeat -79px -18px;
}

.lifeservice ul li:nth-child(3) i {
    background: url(../images/icons.png) no-repeat -141px -14px;
}

.lifeservice ul li:nth-child(4) i {
    background: url(../images/icons.png) no-repeat -204px -15px;
}

.lifeservice ul li:nth-child(5) i {
    background: url(../images/icons.png) no-repeat -15px -87px;
}

.lifeservice ul li:nth-child(6) i {
    background: url(../images/icons.png) no-repeat -80px -87px;
}

.lifeservice ul li:nth-child(7) i {
    background: url(../images/icons.png) no-repeat -141px -87px;
}

.lifeservice ul li:nth-child(8) i {
    background: url(../images/icons.png) no-repeat -208px -88px;
}

.lifeservice ul li:nth-child(9) i {
    background: url(../images/icons.png) no-repeat -17px -159px;
}

.lifeservice ul li:nth-child(10) i {
    background: url(../images/icons.png) no-repeat -78px -157px;
}

.lifeservice ul li:nth-child(11) i {
    background: url(../images/icons.png) no-repeat -142px -157px;
}

.lifeservice ul li:nth-child(12) i {
    background: url(../images/icons.png) no-repeat -206px -159px;
}

.discount {
    position: relative;
}

.lifeservice .discount::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 15px;
    background: url(../images/减.png);
}

.bargain {
    margin-top: 6px;
}

.bargain img {
    width: 100%;
    height: 65px;
}

/* recommend 推荐模块 */
.recom {
    height: 163px;
    background-color: #ebebeb;
    margin-top: 10px;
}

.recom .recom_hd {
    float: left;
    width: 210px;
    height: 163px;
    background-color: #5c5251;
    text-align: center;
    padding-top: 30px;
}

.recom .recom_bd {
    float: left;
}

.recom .recom_bd ul li {
    float: left;
    position: relative;
}

.recom .recom_bd ul li img {
    width: 247px;
    height: 163px;
}

/* .recom .recom_bd ul {
    加在li里面 li才是他的父元素 
    position: relative;
} */
/* 伪元素属于行内元素 没有高宽 */
.recom .recom_bd ul li:nth-child(-n+3):after {
    position: absolute;
    top: 10px;
    right: 0;
    content: '';
    width: 1px;
    height: 145px;
    background-color: #dddddd;
}

/* guess猜你喜欢区域 */
.guess {
    height: 296px;
    margin-top: 30px;
}

.guess_hd {
    height: 28px;
}

.guess_hd h4 {
    float: left;
    font-size: 18px;
    color: #333333;
}

.guess_hd a {
    float: right;
    font-size: 14px;
    color: #666666;
}

.guess_hd a::after {
    font-family: 'icomoon';
    content: '\e982';
    margin-left: 10px;
}

.guess_bd {
    height: 236px;
    margin-top: 10px;
    border: 1px solid #ededed;
}

.guess_bd ul {
    width: 1201px;
}

.guess_bd ul li {
    position: relative;
    float: left;
    width: 200px;
    height: 234px;
    background-color: #fff;
    text-align: center;
}

.guess_bd ul li::after {
    position: absolute;
    right: 0;
    bottom: 10px;
    content: '';
    width: 1px;
    height: 62px;
    background-color: #ededed;
}

.guess_bd ul li img {
    margin-top: 15px;
    width: 160px;
    height: 141px;
}

.guess_bd ul li h5 {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
    margin: 5px 36px 0px 36px;
}

.guess_bd ul li p {
    font-size: 18px;
    color: #df3033;
    font-weight: 700;
    text-align: left;
    margin-left: 40px;
}

/* 有趣区 */
.funny {
    height: 448px;
}

.funny .vessel {
    width: 1200px;
    height: 410px;
    border: 1px solid #b8bddd;
}

.funny h3 {
    font-size: 18px;
    color: #333333;
    font-weight: 400;
    margin-bottom: 10px;
}

/* 第一个大盒子 */
.funny .first {
    float: left;
    position: relative;
    width: 407px;
    height: 408px;
    background-color: #b8bddd;
}

.funny .first img {
    position: absolute;
    bottom: 30px;
    right: 55px;
}

.funny .first p {
    position: absolute;
    top: 20px;
    left: 12px;
    font-size: 16px;
    color: #3b468d;
}

/* 第二个大盒子 */
.funny .second {
    float: left;
    width: 228px;
    height: 408px;
    border-right: 1px solid #b8bddd;
}

.funny .second dl dt {
    position: relative;
    height: 40px;
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    line-height: 40px;
    text-align: center;
    margin-bottom: 44px;
}

.funny .second dl dt::after {
    position: absolute;
    left: 18px;
    bottom: 0;
    content: '';
    width: 195px;
    height: 1px;
    background-color: #b8bddd;
}

.funny .second dl dd {
    height: 162px;
}

.funny .second dl dd:nth-child(2) {
    border-bottom: 1px solid #b8bddd;
}

.funny .second dl dd img {
    width: 100%;
    height: 100%;
}

/* 第三个大盒子 */
.funny .third {
    float: left;
    width: 406px;
    height: 408px;
    background-color: #f7f7f7;
    border-right: 1px solid;
}

.funny .third dl dt {
    position: relative;
    height: 40px;
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    line-height: 40px;
    text-align: center;
}

.funny .third dl dt::after {
    position: absolute;
    left: 18px;
    bottom: 0;
    content: '';
    width: 368px;
    height: 1px;
    background-color: #b8bddd;
}

.funny .third dl dd:nth-child(2) {
    height: 206px;
    border-bottom: 1px solid #b8bddd;
}

.funny .third dl dd:nth-child(2) img {
    width: 100%;
    height: 100%;
}

.funny .third dl .twins {
    height: 160px;
}

.funny .third dl .twins div {
    float: left;
    width: 202.4px;
    height: 100%;
}

.funny .third dl .twins .box1 {
    border-right: 1px solid #b8bddd;
}

.funny .third dl .twins img {
    width: 202.5px;
    height: 100%;
}

.funny .fourth {
    float: left;
    width: 156px;
    height: 408px;
    overflow: hidden;
}

.funny .fourth ul {
    height: 413px;
}

.funny .fourth ul li {
    float: left;
    width: 78px;
    height: 59px;
    border-bottom: 1px dotted #b8bddd;
}

/* 取消最后两个孩子的下边框 */
.funny .fourth ul li:nth-child(n+13) {
    border: 0;
}

/* 给所有左边的li 加右边框 */
.funny .fourth ul li:nth-child(odd) {
    border-right: 1px dotted #b8bddd;
}

.funny .fourth ul li img {
    width: 100%;
    height: 100%;
}

/* floor楼层区-家用电器 */
.floor .w {
    margin-top: 30px;
}

.w .box_hd {
    height: 30px;
    border-bottom: 2px solid #c81623;
}

.w .box_hd h3 {
    float: left;
    font-size: 18px;
    font-weight: 400;
    color: #c81623;
}

.w .tab_list ul {
    float: right;
}

.w .tab_list ul li {
    float: left;
    line-height: 30px;
}

.w .tab_list ul li a {
    margin: 0 15px;
}

.w .box_bd {
    height: 361px;
}

.col_210 {
    width: 210px;
    text-align: center;
    background-color: #f9f9f9;
}

.col_210 ul li {
    float: left;
    width: 85px;
    height: 34px;
    border-bottom: 1px solid #ededed;
    text-align: center;
    line-height: 34px;
    margin-left: 12px;
}

.col_329 {
    position: relative;
    width: 329px;
    height: 361px;
    text-align: center;
    background-color: #aed6d8;
}

.col_329 .dot {
    position: absolute;
    left: 140px;
    bottom: 15px;
    width: 60px;
    height: 16px;
    line-height: 16px;
}

.col_329 ul li {

    float: left;
    width: 10px;
    height: 10px;
    margin: 3px 5px;
    background-color: #fff;
    border-radius: 5px;
}

.col_329 ul li:first-child {
    background-color: red;
}

.col_329 h4 {
    font-weight: 400;
    font-size: 18px;
    color: #066c7d;
    margin-top: 38px;
    margin-bottom: 34px;
}

.col_221a {
    width: 221px;
    height: 361px;
}

.col_221a ul li {
    position: relative;
    height: 180.5px;
    border-bottom: 1px solid #b8bddd;
}

.col_221a ul li .info {
    position: absolute;
    top: 24px;
    left: 22px;
    height: 40px;
}

.col_221a ul li .info h4 {
    font-size: 16px;
    color: #000000;
}

.col_221a ul li .info p {
    font-size: 14px;
    color: #e60012;
}

.col_221a ul li img {
    position: absolute;
    bottom: 0;
    right: 0;
}

.col_221b {
    position: relative;
    width: 221px;
    height: 361px;
}

.col_221b img {
    position: absolute;
    left: 26px;
    top: 200px;
}

.col_221b .info {
    position: absolute;
    top: 70px;
    left: 42px;
    height: 46px;
    text-align: center;
}

.col_221b .info h4 {
    font-size: 18px;
    color: #000;
}

.col_221b .info p {
    font-size: 16px;
    color: #999999;
}

.col_219 {
    width: 219px;
    height: 361px;
}

.col_219 ul li {
    position: relative;
    height: 180.5px;
    border-bottom: 1px solid #b8dddd;
}

.col_219 ul li .info {
    position: absolute;
    top: 15px;
    left: 18px;
    height: 40px;
    z-index: 1;
}

.col_219 ul li .info h4 {
    font-size: 16px;
    color: #000000;
}

.col_219 ul li .info p {
    font-size: 14px;
    color: #e60012;
}

.col_219 ul li img {
    position: absolute;
    bottom: 0;
    right: 0;

}

.tab_list_item1 div {
    float: left;
}

/* 这样写 第二个大盒子的小圆点（也叫div）会继承边框 */
/* .tab_list_item1 div:nth-child(n+3) {
    border-right: 1px solid red;
} */

/* 亲儿子选择器 */
.tab_list_item1>div:nth-child(n+3) {
    border-right: 1px solid #ededed;
}

/* brand 品牌区 */
.brand {
    height: 65px;
    background-color: #f7f7f7;
    margin-top: 20px;
}

.w .brand ul li {
    float: left;
    width: 120px;
    height: 40px;
    border-right: 1px dotted #cccccc;
    margin: 12.5px 0;
}

.w .brand ul li:last-child {
    border: 0;
}

/* 电梯导航 */
.fixedtool {
    position: absolute;
    top: 360px;
    left: 50%;
    width: 66px;
    margin-left: 600px;
    border-left: 1px solid #c81623;
    border-right: 1px solid #c81623;
}
.fixedtool li {
    width: 66px;
    height: 33px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-top: -1px;
    line-height: 33px;
    text-align: center;
    cursor: pointer;
}
.fixedtool li:last-child {
    display: none;
    font-size: 22px;
    color: #c81623;
    font-weight: 700;
    padding-top: 4px;
}
.fixedtool .current {
    background-color: #c81623;
    color: #fff;
}